package com.example.xxljob.service;

import com.xxl.job.core.handler.annotation.XxlJob;
import org.springframework.stereotype.Component;

/**
 * @Description : 创建任务
 * @Author : Bruce Lee
 * @CreateTime : 2024/5/6
 */


@Component
public class XxlJobService {

    @XxlJob("jobDemo")
    public void jobDemo(){
        System.out.println("jobDemo");
    }

}
